<?php
/* @var $this CompanyController */
/* @var $data Company */
?>

	<tr>
		<td class="pl15">
			<?php echo CHtml::checkBox('id[]','',array('class'=>'chk f_l chkitem','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zm_id))?>
			<?php if(!empty($data->member)) echo CHtml::encode($data->member->zm_name)?>
		</td>
		<td width="18%"><?php echo CHtml::encode($data->zc_name)?></td>
		<td width="20%"><?php echo CHtml::encode($data->zc_sub_domain)?></td>
		<td width="15%"><?php echo date('Y-m-d H:i',$data->inputtime)?></td>
		<td width="15%">
			<?php if($data->zc_status==1){?>
				<span>使用中</span>
			<?php }elseif($data->zc_status==3){ ?>
				<span class="c_red">已禁止</span>
			<?php }?>
		</td> 
		<td class="operate" width="17%">
				<?php echo CHtml::link(Yii::t('adm','Punish'),array($this->pre_module_url.'/cmpPunish/create','id'=>$data->zm_id),array('class'=>'c_06c'))?>
				<?php echo CHtml::link(Yii::t('glo','Update'),array('update','id'=>$data->zm_id),array('class'=>'c_06c'))?>
				<?php echo CHtml::link(Yii::t('cmp','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("/manage/company/delete/id/'.$data->zm_id.'","你确定要删除这条信息吗？")'))?>  
		</td>
	</tr>
